package com.coolrui.domain.statemachine.dto;

import com.coolrui.domain.statemachine.enums.OrderPayType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderContext {
    //订单ID
    private Long orderId;
    //支付方式
    private OrderPayType payType;

    public OrderContext(Long orderId) {
        this.orderId = orderId;
    }
}

